package com.zr.model;

public class Worker {
     private int wid;
     private String wname;
     private int wage;
     private String wsex;
     private String wphone;
     private String wadress;
     private int did;
     private String dname;
     private int work_age;
	public int getWid() {
		return wid;
	}
	public void setWid(int wid) {
		this.wid = wid;
	}
	public String getWname() {
		return wname;
	}
	public void setWname(String wname) {
		this.wname = wname;
	}
	public int getWage() {
		return wage;
	}
	public void setWage(int wage) {
		this.wage = wage;
	}
	public String getWsex() {
		return wsex;
	}
	public void setWsex(String wsex) {
		this.wsex = wsex;
	}
	public String getWphone() {
		return wphone;
	}
	public void setWphone(String wphone) {
		this.wphone = wphone;
	}
	public String getWsdress() {
		return wadress;
	}
	public void setWadress(String wadress) {
		this.wadress = wadress;
	}
	public int getDid() {
		return did;
	}
	public void setDid(int did) {
		this.did = did;
	}
	public int getWork_age() {
		return work_age;
	}
	public void setWork_age(int work_age) {
		this.work_age = work_age;
	}
	
	public String getDname() {
		return dname;
	}
	public void setDname(String dname) {
		this.dname = dname;
	}
	public String getWadress() {
		return wadress;
	}
	public Worker() {
		super();
		// TODO Auto-generated constructor stub
	}
	public Worker(int wid, String wname, int wage, String wsex, String wphone, String wadress, int did, String dname,
			int work_age) {
		super();
		this.wid = wid;
		this.wname = wname;
		this.wage = wage;
		this.wsex = wsex;
		this.wphone = wphone;
		this.wadress = wadress;
		this.did = did;
		this.dname = dname;
		this.work_age = work_age;
	}
     
     
}
